from View.guiroot import *
import tkinter as tk

#删除空行页面
cleanMenu = NewWorkingSpace(RF, "开始处理EXCEL", "删除空行")
tk.Label(cleanMenu.ws, text="").pack()

cleanPreviewWindow = SubWindow(cleanMenu.ws, size="600x400", title="删除空行效果预览")
cleanPreviewButton = tk.Button(cleanMenu.ws, text="预览删除空行后的表格", width=30, command=cleanPreviewWindow.open)
cleanSaveButton = tk.Button(cleanMenu.ws, text="删除空行并保存", width=30, command=lambda :print("删除空行并保存"))
cleanPreviewButton.pack(pady=10)
cleanSaveButton.pack(pady=20)

##清除结果预览
cleanPreviewTable = DataFrameViewr(cleanPreviewWindow.frame, name="删除空行表格预览", df=excelCleanResult.df)
cleanPreviewTable.pack()

